package com.hello.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hello.common.core.annotation.Excel;
import com.hello.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 树洞举报对象 sd_tree_hole_reports
 * 
 * @author hello
 * @date 2025-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TreeHoleReports extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 举报ID */
    private Long reportId;

    /** 举报人ID */
    @Excel(name = "举报人ID")
    private Long reporterUserId;

    /** 被举报的树洞ID */
    @Excel(name = "被举报的树洞ID")
    private Long treeHoleId;

    /** 举报类型 */
    @Excel(name = "举报类型")
    private Integer reportType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setReporterUserId(Long reporterUserId) 
    {
        this.reporterUserId = reporterUserId;
    }

    public Long getReporterUserId() 
    {
        return reporterUserId;
    }
    public void setTreeHoleId(Long treeHoleId) 
    {
        this.treeHoleId = treeHoleId;
    }

    public Long getTreeHoleId() 
    {
        return treeHoleId;
    }
    public void setReportType(Integer reportType) 
    {
        this.reportType = reportType;
    }

    public Integer getReportType() 
    {
        return reportType;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("reporterUserId", getReporterUserId())
            .append("treeHoleId", getTreeHoleId())
            .append("reportType", getReportType())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
